package com.yh.csx.bsf.ods.meta;


/**
 *  Mysql数据类型
 * @author 	Robin.Wang
 * @date	2020-06-01
 *
 */
public enum MysqlDataType {
	BIT("bit"), 
	TINYINT("tinyint"), 
	SMALLINT("smallint"),
	MEDIUMINT("mediumint"), 
	INT("int"), 
	BIGINT("bigint"),
	FLOAT("float"), 
	DOUBLE("double"), 
	DECIMAL("decimal"),
	NUMERIC("numeric"),
	REAL("real"),
	YEAR("year"), 
	DATE("date"), 
	TIME("time"), 
	DATETIME("datetime"), 
	TIMESTAMP("timestamp"), 	
	CHAR("char"),
	VARCHAR("varchar"),
	LONGVARCHAR("longvarchar"),
	TINYBLOB("tinyblob"),
	TINYTEXT("tinytext"),  
	BLOB("blob"),
	TEXT("text"),  
	MEDIUMTEXT("mediumtext"), 
	MEDIUMBLOB("mediumblob"),  
	LONGBLOB("longblob"),
	LONGTEXT("longtext"), 
	ENUM("enum"),
	JSON("json"), 
	SET("set"), 
	BINARY("binary"),
	VARBINARY("varbinary"),
	LONGVARBINARY("longvarbinary"),
	LINESTRING("linestring"),
	POINT("point"),
	MULTIPOINT("multipoint"),
	
	NULL("null"),
	OTHER("other"),
	REF("ref"),
	BOOLEAN("boolean"),
	/**
	 * 多边形
	 * */
	POLYGON("polygon"),
	MULTIPOLYGON("multipolygon"),
	GEOMETRY("geometry"),
	MULTILINESTRING("multilinestring"),
	GEOMETRYCOLLECTION("geometrycollection");

	private String value;

	private MysqlDataType(String value) {
		this.value = value;
	}
	

}
